﻿using System;

namespace CSEngine
{
    public sealed class Player
    {
        private String name;
        private bool displayBoard;

        public Player(String playerName)
        {
            name = playerName;
            displayBoard = false;
        }

        /// <summary>
        /// Get or set a value indicating whether the board should be
        /// displayed to this player each time he makes a move
        /// </summary>
        public bool DisplayBoard
        {
            get { return displayBoard; }
            set { displayBoard = value; }
        }

        /// <summary>
        /// Get or set this player's name
        /// </summary>
        public String Name
        {
            get { return name; }
            set { name = value; }
        }
    }
}
